﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RemoteCode
{
    internal class TypeHelper
    {
        public static Type[] ObjectArrayToTypeArray(object[] objects)
        {
            Type[] types = new Type[objects.Length];
            for (int i = 0; i < objects.Length; i++)
                    types[i] = objects[i].GetType();
            return types;
        }
    }
}
